package com.jade.yh.zsy.mobile.wechat.api;

import com.jade.bss.base.RoleAction;
import com.jade.bss.base.utils.CopyBean;
import com.jade.framework.base.util.ResponseUtils;
import com.jade.zsy.base.common.ParametersException;
import com.jade.zsy.crm.entity.CrmInfo;
import com.jade.zsy.crm.vo.CrmInfoVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletResponse;

/**
 * Created with IntelliJ IDEA.
 * User: jinya
 * Date: 2017/6/24
 * Time: 0:17
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@RestController
@RequestMapping(value = "/qrcode", produces = MediaType.APPLICATION_JSON_VALUE)
@Api(value = "二维码", description = "通用模块--当前二维码")
public class WxQrcodeApi {
    //@RequiresAuthentication
    @ApiOperation(value = "当前登录用户的会员导入二维码")
    @RequestMapping(value =  "ecrm", method = RequestMethod.GET)
    public void ecrm(HttpServletResponse response)throws Exception{
        ResponseUtils.writeSuccessResult(response);
    }

    @ApiOperation(value = "当前登录用户的收款二维码")
    @RequestMapping(value =  "epay", method = RequestMethod.GET)
    public void epay(HttpServletResponse response)throws Exception{
        ResponseUtils.writeSuccessResult(response);
    }
}
